package com.power.using.mybomb.base;

/**
 * Created by 聪明一只哈 on 2020/3/20.
 * Time: 2020/3/20  11:08
 */
public class ImageLoaderFactory {

    private static volatile ILoader sInstance;
    private ImageLoaderFactory(){
    }
    public static ILoader getLoader(){
        if(sInstance==null){
            synchronized (ImageLoaderFactory.class){
                if(sInstance==null){
                    sInstance=new UniversalImageLoader();
                }
            }
        }
        return sInstance;
    }


}
